<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Category_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category_id" data-rule="required" data-source="category/selectpage" data-params='{"custom[type]":"category_income"}' class="form-control selectpage" name="row[category_id]" type="text" value="{$row.category_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quan_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quan_amount" data-rule="required" class="form-control" step="0.01" name="row[quan_amount]" type="number" value="{$row.quan_amount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_recharge_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wechat_recharge_amount" data-rule="required" class="form-control" step="0.01" name="row[wechat_recharge_amount]" type="number" value="{$row.wechat_recharge_amount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_pay_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_pay_amount" data-rule="required" class="form-control" step="0.01" name="row[order_pay_amount]" type="number" value="{$row.order_pay_amount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_amount" data-rule="required" class="form-control" step="0.01" name="row[refund_amount]" type="number" value="{$row.refund_amount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date_year_month')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date_year_month" data-rule="required" class="form-control" name="row[date_year_month]" type="text" value="{$row.date_year_month|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
